package app.system.service.impl;

import app.system.entity.MusicMusicLisit;
import app.system.mapper.MusicMusicLisitMapper;
import app.system.service.MusicMusicListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MusicMusicListServiceImpl implements MusicMusicListService {
    @Autowired
    private MusicMusicLisitMapper musicMusicLisitMapper;
    @Override
    public int saveMusicMusicList(MusicMusicLisit musicMusicLisit) {
        return musicMusicLisitMapper.saveMusicMusicList(musicMusicLisit);
    }

    @Override
    public List<MusicMusicLisit> getMusicMusicListAll() {
        return musicMusicLisitMapper.getMusicMusicListAll();
    }

    @Override
    public List<MusicMusicLisit> selectMusicMusicListByTage(MusicMusicLisit musicMusicLisit) {
        return musicMusicLisitMapper.selectMusicMusicListByTage(musicMusicLisit);
    }

    @Override
    public int deleteMusicMusicLisit(MusicMusicLisit musicMusicLisit) {
        return musicMusicLisitMapper.deleteMusicMusicLisit(musicMusicLisit);
    }

    @Override
    public int seleceMusicMusicLisitCount(MusicMusicLisit musicMusicLisit) {
        return musicMusicLisitMapper.saveMusicMusicList(musicMusicLisit);
    }
}
